package com.pro.service;

import com.pro.entity.*;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MicrocircleService {

    List<JsActicleCategroy> getJsActicleCategroy(Integer acticleCategroyId);

    boolean addZtree(JsActicleCategroy jsActicleCategroy);

    boolean delZtree(Integer acticleCategroyId);

    boolean editZtree(@Param("artcleCategroyName") String artcleCategroyName, @Param("acticleCategroyId") Integer acticleCategroyId);

    List<JsMicrocircle> getMicrocircleList(JsMicrocircle jsMicrocircle);

    Integer getCollectionNum(Integer microcircleId);

    boolean delMicroCircle(Integer microcircleId);

    boolean addLog(JsLog jsLog);

    List<JsLog> selLog(JsLog jsLog);

    boolean delLog(Integer logId);

    JsMicrocircle getDraftMicrocircle(Integer details);

    boolean upDraftMicrocircle(JsMicrocircle jsMicrocircle);

    boolean addDraftMirList(JsMicrocircle jsMicrocircle);

    boolean addMirImg(JsMicrocircleImg jsMicrocircleImg);

    boolean addMirList(JsMicrocircle jsMicrocircle);

    JsActicleCategroy queryMicroCircleClassification(Integer acticleCategroyId);

    List<JsComment> getMicroCircleComment(Integer commodityId);

    boolean hideComment(Integer id, Integer display);

    boolean delComment(Integer id);

    boolean addMicroCircleComment(JsComment jsComment);

    List<JsMicrocircle> getStatistics();

    boolean delImgPreview(Integer microcircleId);

}